GetTimeBaseEffectiveRate
TheGetTimeBaseEffectiveRate
function returns the effective rate at which the specified time base is moving, relative to its master clock.
pascal Fixed GetTimeBaseEffectiveRate (TimeBase tb);
tb
- Specifies the time base for this operation. Your application obtains this time base identifier from the
NewTimeBase
function (described on page 2-297).DESCRIPTION
TheGetTimeBaseEffectiveRate
function is useful when you need to make scheduling decisions based on the rate of a time base--for example, when you are writing a media handler. (For more on media handlers, see Inside Macintosh: QuickTime Components.) By callingGetTimeBaseEffectiveRate
rather than theGetTimeBaseRate
function (described in the previous section), you can easily take into account any time base subordination that may be in effect.